$(function() {
	$('#tt').datagrid({
		url : '/markStartRecord/get1RetentTaskPageList'
	});

});

function doSearch() {
	var mark = $('#mark').val();
	var appName = $('#apkName').val();
	var channelName = $('#channelName').val();
	var start = $('#start').datebox('getValue');
	var end = $('#end').datebox('getValue');

	$('#tt').datagrid({
		queryParams : {
			mark : mark,
			appName : appName,
			channelName : channelName,
			start : start,
			end : end
		}
	});

	$('#tt').datagrid('unselectAll');
}

function sortInfo(a, b) {
	var number1 = parseFloat(a);
	var number2 = parseFloat(b);
	return (number1 > number2 ? 1 : -1);
}

